Disco\App\Utility\Config S

Total Complexity 44
Dependencies 0
Dependents 3
Total lines 319
Lines of code 161
Logical lines of code 68
Comment lines 109
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
get_product_ids()
S
54 7 22
get_discount_rules()
S
52 5 24
product_is_applicable()
S
60 5 14
get_wc_discount_type()
S
61 5 13
get_conditions()
S
61 5 13
get_discount_value()
S
70 3 6
set_config()
S
51 1 30
get_discount_based_on()
S
71 2 6
get_discount_label()
S
70 2 6
__set()
S
80 1 3
__get()
S
80 1 3
__isset()
S
79 1 3
__construct()
S
80 1 3
get_discounts()
S
80 1 3
get_bogo_type()
S
80 1 3
get_discount_intent()
S
80 1 3
get_config()
S
82 1 3
__unset()
S
80 1 3